<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:zhjin="http://java.sun.com/jsf/composite/component"
	xmlns:zh="http://www.zhjin.com/custom"
	template="../template/base.xhtml">

	<ui:define name="pagecontent">
		<h:form enctype="multipart/form-data">
			<p:commandButton value="test" onclick="alert(navigator.userAgent);">
			</p:commandButton>
			<p:commandButton value="dialogTest" actionListener="#{testBean.testClick}"/>
			<p:commandButton id="basic" value="Basic" oncomplete="PF('dlg1').show();">
			</p:commandButton>
			<p:dialog header="Basic dialog" widgetVar="dlg1" resizable="false">
				<zh:div id="abc">
					<h:outputText value="test"/>
				</zh:div>
			</p:dialog>
		</h:form>
      </ui:define>
</ui:composition>